package com.heima.apis.wemedia;


import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

//定义feign接口
@FeignClient("leadnews-wemedia")
public interface IWmUserClient {

    @PostMapping("/wemedia/user/add")
    ResponseResult addUser(@RequestParam String name);
}
